home *** CD-ROM | disk | FTP | other *** search
/ Kompuutteri Kaikille K-CD 2008 #18 / KCD200818.ISO / Euro Truck / ets_1_00_setup.exe / base.scs / font / odo_number.font < prev    next >
Text File  |  2008-07-25  |  3KB  |  69 lines

  1. # SCS Font
  2. # Max width: 12
  3. # Max advance: 13
  4. # Typical height 'above the line': 0 (height of letter 'M')
  5. # Max pixels 'above the line': 14
  6. # Max pixels 'below the line': 0
  7.  
  8. vert_span:14  # max difference between lowest and highest pixel in any two glyphs
  9. line_spacing:2  # suggested number of pixels to put between lines
  10.  
  11. image:/font/odo_number.mat
  12.  
  13. # P_x: starting column of glyph rectangle in the font bitmap
  14. # P_y: starting row of glyph rectangle in the font bitmap
  15. # W: width of the glyph rectangle
  16. # H: height of the glyph rectangle
  17. # L: left offset of the rectangle when placing it relative to current 'pen position'
  18. #    (negative value can be thought of as 'hard' kerning, but is used at the beginning of line too!)
  19. # T: top offset of the rectangle when placing it relative to current 'pen position'
  20. #    (the 'pen' is expected to be at the level of topmost pixel of highest glyph)
  21. # A: advance of the 'pen' for rendering of the following glyph
  22.  
  23. #NUM, P_x, P_y,  W,  H,  L,  T,  A     # character / glyph name
  24.  
  25. $032,  60,  16,  0,  0,  0, 14,  7     # ' ' / 'SPACE'
  26. $048,   1,   1, 12, 14,  1,  0, 13     # '0' / 'DIGIT ZERO'
  27. $049,  14,   1,  7, 14,  3,  0, 13     # '1' / 'DIGIT ONE'
  28. $050,  22,   1, 10, 14,  1,  0, 13     # '2' / 'DIGIT TWO'
  29. $051,  33,   1, 11, 14,  1,  0, 12     # '3' / 'DIGIT THREE'
  30. $052,  45,   1, 11, 14,  1,  0, 13     # '4' / 'DIGIT FOUR'
  31. $053,   1,  16, 10, 14,  1,  0, 12     # '5' / 'DIGIT FIVE'
  32. $054,  12,  16, 11, 14,  1,  0, 13     # '6' / 'DIGIT SIX'
  33. $055,  24,  16, 10, 14,  1,  0, 13     # '7' / 'DIGIT SEVEN'
  34. $056,  35,  16, 12, 14,  1,  0, 13     # '8' / 'DIGIT EIGHT'
  35. $057,  48,  16, 11, 14,  1,  0, 13     # '9' / 'DIGIT NINE'
  36.  
  37. # kerning...
  38.  
  39. kern: $048, $049, -1      # '0' -> '1'
  40. kern: $048, $055, -1      # '0' -> '7'
  41. kern: $049, $048, -1      # '1' -> '0'
  42. kern: $049, $049, -2      # '1' -> '1'
  43. kern: $049, $050, -1      # '1' -> '2'
  44. kern: $049, $051, -1      # '1' -> '3'
  45. kern: $049, $052, -1      # '1' -> '4'
  46. kern: $049, $053, -1      # '1' -> '5'
  47. kern: $049, $054, -1      # '1' -> '6'
  48. kern: $049, $055, -2      # '1' -> '7'
  49. kern: $049, $056, -1      # '1' -> '8'
  50. kern: $049, $057, -1      # '1' -> '9'
  51. kern: $050, $049, -1      # '2' -> '1'
  52. kern: $050, $055, -1      # '2' -> '7'
  53. kern: $051, $049, -1      # '3' -> '1'
  54. kern: $051, $055, -1      # '3' -> '7'
  55. kern: $052, $049, -2      # '4' -> '1'
  56. kern: $052, $055, -1      # '4' -> '7'
  57. kern: $053, $049, -1      # '5' -> '1'
  58. kern: $053, $055, -1      # '5' -> '7'
  59. kern: $054, $049, -1      # '6' -> '1'
  60. kern: $054, $055, -1      # '6' -> '7'
  61. kern: $055, $049, -1      # '7' -> '1'
  62. kern: $055, $052, -2      # '7' -> '4'
  63. kern: $055, $054, -1      # '7' -> '6'
  64. kern: $055, $055, -1      # '7' -> '7'
  65. kern: $056, $049, -1      # '8' -> '1'
  66. kern: $056, $055, -1      # '8' -> '7'
  67. kern: $057, $049, -1      # '9' -> '1'
  68. kern: $057, $055, -1      # '9' -> '7'
  69.